<%@page import="com.df.springmvc.workflow.trace.controller.TraceManageController"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("basePath", basePath);
	request.setAttribute("taskId",
			request.getParameter("taskId"));
	request.setAttribute("processInstanceId",
			request.getParameter("processInstanceId"));
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>浏览流程图</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<jsp:include page="/scripts/common/index.html"></jsp:include>
<jsp:include page="/scripts/jquery/index.html"></jsp:include>
<jsp:include page="/scripts/dhtmlx/index.html"></jsp:include>
<jsp:include page="/scripts/bootstrap/index.html"></jsp:include>
<link rel="stylesheet" href="${basePath }style/default.css">
<script>
	
</script>
<body>
	<form style="width: 100%;height: 99%;" class="form-horizontal MyForm" id="MyForm" name="MyForm" method="post" target="MyFrame" enctype="multipart/form-data">
	<table id="time_table" class="table table-striped table-bordered" style="margin-top: 0px; width: 95%;margin: auto;">
		<thead>
			<tr style="">
				<td colspan="11">
					<div style="width: 1000px;height: 300px;margin: auto;">
						<img style="max-width: 100%;" alt="" src="page/workflow/trace/TraceManage/tracePic/${processInstanceId }/${processInstanceId}">
					</div>
					
				</td>
			</tr>
		</thead>
		<thead>
			<tr style="background:#f0efef" class="childTitle">
				<th>编号</th>
				<th>名称</th>
				<th>处理人</th>
				<th width="20%;">说明</th>
				<th>签收时间</th>
				<th>开始时间</th>
				<th>结束时间</th>
				<th>处理时长</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach var="item" items="${list }">
				<tr>
					<td>${item.id }</td>
					<td>${item.name }</td>
					<td width="80px;">${item.assignee }</td>
					<td width="20%;" nowrap="">${item.Description }</td>
					<td>${item.claimTime }</td>
					<td>${item.createTime }</td>
					<td>${item.EndTime }</td>
					<td>${item.Duration }</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	</form>
</body>
</html>
